package com.bing.habit.service;

import com.bing.habit.entity.Habit;

import java.util.List;

public interface HabitService {
    boolean addOrUpdate(Habit habit);
    void delete(int id);
    Habit get(int id);
    List<Habit> listByUid(int uid);
    boolean isExist(int uid, String habitName);
}
